﻿using AutoMapper;
using B.S.DataBasic.Domain.GoodInfra;
using B.S.DataBasic.Write.API.Application;
using B.S.DataBasic.Write.API.Dtos;

namespace B.S.DataBasic.Write.API
{
    public class MappingProfile:Profile
    {
        public MappingProfile() 
        {
            //溯源表
            CreateMap<AddTraceCommand, Traceabilitable>().ReverseMap();
            //溯源表删除
            CreateMap<DelTranceCommand, Traceabilitable>().ReverseMap();
        }
    }
}
